{extend name="A_public:index"/}
<title>{block name="title"}分类管理{/block}</title>
{block name="allinfo"}

	<div class="content-panel">
      <h4><i class="fa fa-angle-right"></i> 分类列表</h4><hr><table class="table table-striped table-advance table-hover" style="margin-bottom: 0px">
      
          <thead>
          <tr>
              <th><i class="glyphicon glyphicon-th-list"></i> 编号</th>
              <th class="hidden-phone"><i class="glyphicon glyphicon-user"></i> 商品分类名</th>
              <th class="hidden-phone"><i class="glyphicon glyphicon-comment"></i> PID</th>
              <th><i class="glyphicon glyphicon-leaf"></i> PATH(路径)</th>
              <th><i class="glyphicon glyphicon-resize-full"></i>操作</th>
          </tr>
          </thead>
          <tbody>
    			{foreach name='cateinfo' item='row'}
              	<tr>
                      <td>{$row['id']}</td>
                      <td class="hidden-phone">{$row['name']}</td>
                      <td class="hidden-phone">{$row['pid']}</td>
                      <td class="hidden-phone">{$row['path']}</td>
                      
                      <td>
                          <button class="btn btn-primary btn-xs"><a href="/user/edit/id/{$row['id']}"><i class="fa fa-pencil" style="color: white"></i></a></button>
                          <button class="btn btn-danger btn-xs"><a href="/user/del/id/{$row['id']}"><i class="fa fa-trash-o" style="color: white"></i></a></button>
                      </td>
              	</tr>
    			{/foreach}
          </tbody>
      </table>
      <div style="float:right;margin-right: 50px">
      </div>
  </div>



{/block}

